home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Developer / macgzip_022-src / macos / README (mac sources)
Encoding:
Text File  |  1994-07-26  |  3.1 KB  |  71 lines  |  [TEXT/ttxt]

  1. •  MacGzip 0.2.2 (gzip 1.2.4) -sources-
  2.  
  3.  Think C 5.0.4 sources for MacGzip 0.2.2
  4.  
  5. •  About the sources....
  6.  
  7. MacGzip was developed mainly from two sources: gzip 1.2.4 original distribution (by Jean-loup Gailly) and the example source code from Apple's  Developer CD Series. I must mention also Timothy Murphy ("tim@maths.tcd.ie" ), whose Posix Library por Think C was used to link chmod, fstat, utime and stat (all used in gzip.c).
  8.  
  9. (In MacGzip's readme, you can find a list of involuntary contyributions)
  10.  
  11. Part of the Apple source code comes from Snippets
  12. (Snippets are not tested by anyone, except (presumably) the author. They are NOT to be considered the final or best way to do something. They are just bits of code that the DTS engineers and others come up with and feel might be useful to developers. Think of Snippets as a "Bucket 'o Rusty Parts" that is provided for your browsing pleasure, NOT as polished examples. A Snippet should only be used in a commercial application if YOU are sure that it does what you want. )
  13. so, you can apply this to macgzip sources, too.
  14.  
  15. • The porting
  16.  
  17. The main folder contents GNU sources and documentation, as well as MacGzip project file and resources.  GNU sources has been modified. If you find some error here, probably is mine.
  18. If have used some #ifdef's in most of the changes, but not in all.
  19.  
  20. Changes:
  21.  
  22. -Standard output and error by alerts.
  23. -#define MAXSEG_64K (gzip works without this, but is required by unlzw.c in order to decompress Unix .Z files)
  24. -Add some type/creator stuff when creating files.
  25. -Insert here an there System Tasks to be nice with other applications and to update progress bar. (for example one call in the 'fill the input buffer' function)
  26. -other...
  27.  
  28. Note: Some of the command line options (-vlt) are not available just because they require aditional Macintosh interface; but using Think C console, they should work.
  29.  
  30.  
  31. The folder named 'macos' holds Posix Library (as it comes from maths.tcd.ie), and the sources of the interface; they can be reused with some minor changes for any other file processing (input file + few parameters -> output file).
  32.  
  33. There are several ways in which this source could be improved; here you are some:
  34.  
  35. -MacGzip.c:
  36.      Should accept High Level Events (this will change OpenFromFinder)
  37. -MacErrors.c:
  38.      Calert should use varargs!
  39. -SPDCProg.c:
  40.      The string on the movable modal window could be variable
  41.        (erase string's Rect before DrawString in DrawMovable)
  42.      Event loop in SPDSystemTask does not accept new files to process
  43. -ThePrefs.c:
  44.       When an old prefs file is found, the new should be ajusted to match the old.
  45.       
  46. • Note the changes in Posix Library!
  47.  
  48. • The Song
  49.  
  50. hablar como en un susurro 
  51. que el viento se quiere llevar
  52. se agita la ciudad dormida
  53. otoño no acaba jamás
  54. no tiembles por que esté oscuro
  55. si nada nos puede pasar
  56. te he visto mover con orgullo
  57. hey vamos, enséñame más
  58.  
  59. no ver la luz serena
  60. bajando tan suave y besar
  61. andar desnudos por la arena
  62. la sangre ya llega hasta el mar
  63.  
  64. no he vuelto a jurar otra vez
  65. desde que se fue
  66. no he vuelto a quedar otra vez
  67. en paz
  68.  
  69.         Ciudad Dormida (BB sin sed)
  70.  
  71.